//
//  NSDate+Tripvi.h
//  Tripvi
//
//  Created by xiaowuxiaowu on 2017/5/4.
//  Copyright © 2017年 xiaowuxiaowu. All rights reserved.
//

#import <Foundation/Foundation.h>
static NSString *kNSDateHelperFormatSQLDateWithTimeYYYYMMDDHHmmss     = @"yyyy-MM-dd HH:mm:ss";
static NSString *kNSDateHelperFormatSQLDateWithYYYYMMDD     = @"yyyy-MM-dd";
@interface NSDate (Tripvi)


-(NSString *)stringFromDateWithFormat:(NSString *)format;
+(NSDate *)dateFromStringWithYYYYMMDD:(NSString *)string;
+(NSDate *)dateFromStringWithYYYYMMDDSS:(NSString *)string;
//获取时间戳
+(NSString *)getTimeIntervalSince;

+(NSString *)timeWithTimeIntervalString:(long long)timeString;
@end
